﻿using System.Windows.Forms;
using RollBack.src.ui;
namespace RollBack.src.ui
{
    partial class ExplorerLeftPanel
    {
        /// <summary> 
        /// Required designer variable.
        /// </summary>
        private System.ComponentModel.IContainer components = null;

        /// <summary> 
        /// Clean up any resources being used.
        /// </summary>
        /// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
        protected override void Dispose(bool disposing)
        {
            if (disposing && (components != null))
            {
                components.Dispose();
            }
            base.Dispose(disposing);
        }

        #region Component Designer generated code

        /// <summary> 
        /// Required method for Designer support - do not modify 
        /// the contents of this method with the code editor.
        /// </summary>
        private void InitializeComponent()
        {
            this.m_leftTreeView = new TreeView();
            //this.m_leftTreeView = new ThreeStateTreeView();
            this.SuspendLayout();
            // 
            // treeView1
            // 
            this.m_leftTreeView.Dock = System.Windows.Forms.DockStyle.Fill;
            this.m_leftTreeView.Location = new System.Drawing.Point(0, 0);
            this.m_leftTreeView.Name = "treeView1";
            this.m_leftTreeView.Size = new System.Drawing.Size(277, 333);
            this.m_leftTreeView.TabIndex = 1;
            
            this.m_leftTreeView.DragDrop += new System.Windows.Forms.DragEventHandler(this.listView1_DragDrop);
            this.m_leftTreeView.DragEnter += new System.Windows.Forms.DragEventHandler(this.listView1_DragEnter);
            this.m_leftTreeView.DragLeave += new System.EventHandler(this.listView1_DragLeave);
            this.m_leftTreeView.ItemDrag += new System.Windows.Forms.ItemDragEventHandler(this.listView1_ItemDrag);
            // 
            // DriveLister
            // 
            this.Controls.Add(this.m_leftTreeView);
            this.Name = "DriveLister";
            this.Size = new System.Drawing.Size(277, 333);
            this.ResumeLayout(false);
        }

        /// <summary>
        /// Add an external event handler to handle KeyUp events in the left panel
        /// </summary>
        /// <param name="handler"></param>
        public void addKeyEventHandler(System.Windows.Forms.KeyEventHandler handler)
        {
            this.m_leftTreeView.KeyUp += new System.Windows.Forms.KeyEventHandler(handler);
        }

        public void addMouseDownHandler(TreeNodeMouseClickEventHandler handler)
        {
            this.m_leftTreeView.NodeMouseClick += new TreeNodeMouseClickEventHandler(handler);
        }

        #endregion

        //private ThreeStateTreeView m_leftTreeView;
        private TreeView m_leftTreeView;
    }
}
